package com.pg.agent.manager.model.dto.agent;

import com.pg.agent.manager.model.enity.Agent;
import org.mapstruct.Mapper;
import org.mapstruct.NullValueCheckStrategy;
import org.mapstruct.factory.Mappers;

/**
 * 微应用表
 *
 * @author admin
 * @date 2023-12-20 19:12:26
 */
@Mapper(nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface AgentConvertor {

    AgentConvertor INSTANCE = Mappers.getMapper(AgentConvertor.class);

    Agent dtoToDB(AgentDTO agentDTO);
}